package com.hex.ds.hdtp.core.app.script.test.converter;

import com.hex.ds.hdtp.core.app.script.test.dto.request.ScriptDataTestTaskRequestDto;
import com.hex.ds.hdtp.core.app.script.test.dto.response.ScriptDataTestTaskResponseDto;
import com.hex.ds.hdtp.core.inf.script.test.po.ScriptDataTestTaskPo;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @Package: com.hex.ds.hdtp.core.app.script.test.converter
 * @ClassName IScriptDataTestTaskConverter
 * @Description: 带数据测试任务-DTO对象转PO对象转换器
 * @Author: wz.li
 * @Date 2023/8/1 15:47
 * @Version v2.0.2
 **/
@Mapper(componentModel = "spring")
public interface IScriptDataTestTaskConverter {

    ScriptDataTestTaskPo toScriptDataTestTaskPo(ScriptDataTestTaskRequestDto scriptDataTestTaskRequestDto);

    ScriptDataTestTaskResponseDto toScriptDataTestTaskResponseDto(ScriptDataTestTaskPo scriptDataTestTaskPo);

    List<ScriptDataTestTaskResponseDto> toScriptDataTestTaskResponseDtoList(List<ScriptDataTestTaskPo> scriptDataTestTaskPos);
}
